{{include file = "layouts/operation/header.tpl"}}

<script src="public/operation/js/pointscost.js" type="text/javascript"></script>
<div class="column1080 pointsshop mt40">
	 <div class="pointsshop-content">
		<h5>Your Exclusive Perks <span>{{$totalCount}} points to redeem</span></h5>
<!--        <form action="costpoints/apply" method="post">-->
<!--   	     <select name="type">-->
<!--   	      {{foreach from=$options key=k item=item }}-->
<!--          	 <option value="{{$item->id}}">{{$item->unit}}{{$item->card}} cost {{$item->costpoints}} points</option>-->
<!--           -->
<!--           {{/foreach}}-->
<!--		</select>-->
<!--        <input type="submit" value="Approval"> -->
<!--          {{$resultMsg}}-->
        {{foreach from=$options key=k item=item }} 
<!--         href="costpoints/apply?type={{$item->id}}"-->
        	<li>
            	<img src="public/operation/photo/photo02.jpg"/>
                <div class="sales-i">
                	<a a href="javascript:void(0);" onclick="javascript:alertSubmit('{{$item->id}}','{{$item->unit}}{{$item->card}} cost {{$item->costpoints}} points');return false;"  >
                    	<span class="sales-i-a"><font>{{$item->unit}}</font>{{$item->card}} off</span>
                        <span class="sales-i-b">A Future Order</span>
                        <span class="sales-i-c">{{$item->costpoints}} pts</span>
                    </a>
                </div>
            </li>
         {{/foreach}}
     </form>
     </div>
     <div class="pointsshop-right">
     	<div class="column-right">
        	<h3>Easy Ways to Score Points</h3>
            <ul class="c-Registration-a">
            	<li>
                	<div class="c-Registration-b">
                    	<span>100<font>+</font></span>
                        <p>per week</p>
                    </div>
                    <h4> Visit 5 weekdays in a row</h4>
                    <p>Earn 100 points a week for visiting the site daily Monday through Friday. Try again next week </p>
                </li>
                <li>
                	<div class="c-Registration-b">
                    	<span>100<font>+</font></span>
                        <p>per week</p>
                    </div>
                    <h4> Visit 5 weekdays in a row</h4>
                    <p>Earn 100 points a week for visiting the site daily Monday through Friday. Try again next week </p>
                </li>
                <li>
                	<div class="c-Registration-b">
                    	<span>18<font>+</font></span>
                        <p>per week</p>
                    </div>
                    <h4> Refer Friends </h4>
                    <p>Get points when you invite friends — from Gilt.com or our mobile app, Gilt on the Go.</p>
                </li>
                <li>
                	<div class="c-Registration-b">
                    	<span>80<font>+</font></span>
                        <p>per week</p>
                    </div>
                    <h4> Shop Gilt.com </h4>
                    <p>shop on Gilt.com, GiltCity.com and our mobile experience, Gilt on the Go.</p>
                </li>
            </ul>
        </div>
        <div class="column-right mt20">
        	<h3>Your Insider Timeline</h3>
            <div class="b-Registration-a">
            	<p>You've earned {{$earnpoints}} points to date!</p>
                <span>Aug 15&nbsp;&nbsp;&nbsp;&nbsp;+500 Welcome Bonus </span>
                <a href="account/index?type=points_history">View point history</a>
            </div>
        </div>
        <div class="column-right mt20">
        	<h3 class="c-999">Get in Touch </h3>
            <div class="a-Registration-a">
            	<p>
                	Email: <a href="#">insider@gilt.com</a><br>

                    +1 855.827.6880<br>

                    <a href="#">Terms and Conditions</a><br>

                   <a href="#"> FAQ</a> 
                </p>
            </div>
        </div>
     </div>
</div>  
{{include file = "layouts/operation/footer.tpl"}}